<?php /* Smarty version 2.6.22, created on 2009-12-07 13:23:44
         compiled from modulos/fotos.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=8859-1">
<link rel="stylesheet" type="text/css" href="css/estilos.css">
<title>Untitled Document</title>
<?php echo '
    <style type="text/css">
    body{
        color:#333333;
		direction:ltr;
        font-family:Arial, Helvetica, sans-serif;
        font-size:11px;
		text-align:left;
    }
    </style>
'; ?>

<?php echo '
<script language="javascript">
function cambiarTextArea(id,texto) {
	document.getElementById(\'foto-coment\'+id).innerHTML = "<div class=\'foto-comentario\'>Comentario: </div><textarea class=\'textarea-nota\' id=\'ta"+id+"\'>"+texto+"</textarea><img src=\'images/visto.png\' class=\'foto-editar-boton\' onclick=\'actualizarComent("+id+","+texto")\'><div id=\'cargando-nota\'></div>";
}
</script>
<script type="text/javascript" src="Scripts/diapositivas.js"></script>
<script type="text/javascript" src="Scripts/album.js"></script>
'; ?>

</head>

<body>
	<a href="album.php" class="menu-agenda-ingresar" onclick="regresar()"><< Regresar</a>
    <div class="foto-grande-todo">
    	<div class="fotos-menu-abajo">
            <a href="javascript: atras();" class="foto-atras">Atr&aacute;s</a>
            <a href="javascript: adelante();" class="foto-adelante">Adelante</a>
        </div>
        <br />
            <div id="diapositivas">
                <?php $_from = $this->_tpl_vars['fotos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['f']):
?>
					<div>
                        <img src="images/album/<?php echo $this->_tpl_vars['f']['nombre']; ?>
" alt="Diapositiva <?php echo $this->_tpl_vars['i']; ?>
"  class="foto-grande" onclick="javascript: adelante();">
                        <?php echo '<script type="text/javascript">setContador('; ?>
<?php echo $this->_tpl_vars['id']+1; ?>
<?php echo ');</script>'; ?>

                        <div class="foto-coment" id="foto-coment<?php echo $this->_tpl_vars['id']+1; ?>
">
                            <div class="foto-comentario">Comentario: <?php echo $this->_tpl_vars['f']['descripcion']; ?>
 &nbsp;&nbsp;
                                <img src="images/editContent.gif" class="foto-editar-boton" onclick="cambiarTextArea('<?php echo $this->_tpl_vars['id']+1; ?>
','<?php echo $this->_tpl_vars['f']['descripcion']; ?>
')" /></div>
                        </div>
                    </div>
                <?php endforeach; endif; unset($_from); ?>
            </div>
    </div>
	<?php echo '
    <script type="text/javascript">
		inicio();
		ponerImagen();
    </script>
    '; ?>


</body>
</html>